package com.example.layui.demo.entity;

import lombok.Data;

@Data
public class ResultEntity<E> {

    private int code;
    private String msg;
    private E data;
    private int count;

    public ResultEntity(int code, String msg,E data,int count)
    {
        this.code =code;
        this.msg = msg;
        this.data = data;
        this.count=count;

    }

}
